package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ProductCatalog;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface ProductCatalogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductCatalog record);

    ProductCatalog selectByPrimaryKey(Long id);

    List<ProductCatalog> selectAll();

    int updateByPrimaryKey(ProductCatalog record);

    List<ProductCatalog> queryForList(QueryObject qo);

    List<ProductCatalog> selectEnable();

    List<ProductCatalog> getCatalogs(Long state);

    List<ProductCatalog> queryForProducts(QueryObject qo);
}